package com.frontop.system.modules.project.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 项目表
 * </p>
 *
 * @author YangJia
 * @since 2021-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysProject对象", description="项目表")
public class SysProject implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目文件路径")
    private String projectPath;

    @ApiModelProperty(value = "项目访问路径")
    private String visitPath;

    @ApiModelProperty(value = "操作用户")
    private String userName;

    @ApiModelProperty(value = "项目说明")
    private String remark;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "运行状态")
    private Integer runStatus;

    @ApiModelProperty(value = "项目大小")
    private Long size;

    @ApiModelProperty(value = "项目说明")
    private String httpPath;

    @ApiModelProperty(value = "项目图片")
    private String image;
    @ApiModelProperty(value = "是否是视频文件")
    private Integer isMp4;
    @ApiModelProperty(value = "是否投入作品库")
    private Integer isZpk;

    @ApiModelProperty(value = "项目类型，1：VRT、2：可视化、3：影片、4：推荐作品、5：获奖作品")
    private String type;



    @TableField(exist = false)
    MultipartFile file;


    @TableField(exist = false)
    private String   userNameText;

    @TableField(exist = false)
    private String   headImage;

    //是否被关注
    @TableField(exist = false)
    Integer isBgz;

    //关注量
    @TableField(exist = false)
    Long gzCount;
}
